package com.ihd.ihardware.view.scooter.view;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.ihd.ihardware.R;
import com.ihd.ihardware.databinding.ActivityScNobindingBinding;
import com.ihd.ihardware.view.lock.viewmodel.LockBindViewModel;

import cn.wowjoy.commonlibrary.base.BaseActivity;

public class SCNoBindingActivity extends BaseActivity<ActivityScNobindingBinding, LockBindViewModel> {

    @Override
    protected void init(Bundle savedInstanceState) {
        mImmersionBar.statusBarDarkFont(false).init();

        binding.mtitlebar.setLeftBack(this);
        binding.mtitlebar.setLeftImageResource(R.drawable.bike_nb_back);

        binding.bindlock.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i = new Intent(SCNoBindingActivity.this, SCBindingActivity.class);
                startActivity(i);
                finish();
            }
        });

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_sc_nobinding;
    }

    @Override
    protected Class getViewModelClass() {
        return LockBindViewModel.class;
    }
}
